﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lxzhu.OpenGL
{
    /// <summary>
    /// 键盘代码表.
    /// </summary>
    public enum GlutKeyCode
    {
        #region function keys
        F1 = 1,
        F2 = 2,
        F3 = 3,
        F4 = 4,
        F5 = 5,
        F6 = 6,
        F7 = 7,
        F8 = 8,
        F9 = 9,
        F10 = 10,
        F11 = 11,
        F12 = 12,
        #endregion
        #region direction keys
        LEFT = 100,
        UP = 101,
        RIGHT = 102,
        DOWN = 103,
        PAGE_UP = 104,
        PAGE_DOWN = 105,
        HOME = 106,
        END = 107,
        INSERT = 108,
        #endregion
        #region ascii keys
        A = 65, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z,
        a = 97, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z,
        N0=48,N1,N2,N3,N4,N5,N6,N7,N8,N9,
        #endregion
        #region special keys
        Esc=27,Tab=9
        #endregion
    }
}
